using System;

namespace SQLServices.Runners.Events
{
    /// <summary>
    /// Used to notify when the execution of the scripts have finished or have been cancelled
    /// </summary>
	public class ExecutionFinishedEventArgs : EventArgs
	{
        private readonly bool _wasCancelled = false;

        public ExecutionFinishedEventArgs(bool wasCancelled)
        {
            _wasCancelled = wasCancelled;
        }

        public bool WasCancelled
        {
            get { return _wasCancelled; }
        }
	}
}